-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:agoose77/GOAP
- Loading branch information
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,21 +24,18 @@ jobs: | |
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/[email protected] | ||
with: | ||
# Version range or exact version of a Python version to use, using SemVer's version range syntax. | ||
python-version: 3.7 | ||
|
||
- name: Setup Poetry | ||
# You may pin to the exact commit or the version. | ||
# uses: Gr1N/setup-poetry@09236184f6c1ab47c0dc9c1001c7fe200cf2afb0 | ||
uses: Gr1N/setup-poetry@v7 | ||
- uses: pdm-project/setup-pdm@main | ||
name: Setup PDM | ||
with: | ||
python-version: 3.7 # Version range or exact version of a Python version to use, the same as actions/setup-python | ||
architecture: x64 # The target architecture (x86, x64) of the Python interpreter. the same as actions/setup-python | ||
prerelease: true # Allow prerelease versions to be installed | ||
enable-pep582: false # Enable PEP 582 package loading globally | ||
|
||
- name: Install deps | ||
run: | | ||
POETRY_VIRTUALENVS_CREATE=0 poetry install | ||
pdm install | ||
- name: Run tests | ||
run: python3 -m pytest |