Skip to content

use tmp_path in unit tests to fix concurrent file access / deletion #238

use tmp_path in unit tests to fix concurrent file access / deletion

use tmp_path in unit tests to fix concurrent file access / deletion #238

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CalCOS Pytest
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: check-style
- linux: check-build
test:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
setenv: |
TEST_BIGDATA: https://bytesalad.stsci.edu/artifactory
lref: /grp/hst/cdbs/lref/
envs: |
- linux: py39-xdist
- linux: py310-xdist
- linux: py311-xdist
- macos: py311-xdist
- linux: py3-cov-xdist
coverage: codecov
pytest-results-summary: true
- macos: py3-xdist
pytest-results-summary: true
- linux: py3-devdeps-xdist